package com.example.demo.entity;

import lombok.Data;

import java.time.ZonedDateTime;
import java.util.Date;

/**
 * @Description
 * @Author chenhuiyu
 * @Date 2023/11/30
 */
@Data
public class Goods extends BaseEntity{
    private Integer id;
    private Integer userId;
    private String name;
    private Integer flag;
    private Date createTime = Date.from(ZonedDateTime.now().toInstant());
    private Date updateTime = Date.from(ZonedDateTime.now().toInstant());

    private Integer groupId;
    private Integer queryTimeType; // 1创建 2修改
    private Date startTime;
    private Date endTime;
}
